package ks.client.controllers;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ks.client.gui.GMTOPT;
import ks.client.lobby.Lobby;

public class ChangeStatusController implements ActionListener{
	Lobby lobby;
	int num;
	
	public ChangeStatusController(Lobby lobby, int num){
		this.lobby = lobby;
		this.num = num;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		GMTOPT gui = lobby.getGMTOPT(num);
		
		gui.setStatus();
	
	}

}
